<template>
  <div>

  </div>
</template>

<script>
export default {
  data(){
    return{

    }
  },
  methods:{
        getToken(){
            localStorage.setItem('token',this.$route.query.token)
            localStorage.setItem('userid',this.$route.query.userid)
            this.$router.push('/login')
        }  
    },
    mounted(){
        this.getToken()
    }
}
</script>

<style>

</style>